<?php
class Bug extends AppModel {

    public $recursive = -1;
    public $name = 'Bug';
    /*public $validate = array(
        'content' => array('notempty'),
        'file' => array(
            'resource'      => array('rule' => 'checkResource'),
            'access'          => array('rule' => 'checkAccess'),
            'size'                => array('rule' => array('checkSize', '5M')),
            'extension'     => array('rule' => array('checkExtension', false, array('jpg', 'jpeg', 'png', 'tmp'))),
            'mimeType'      => array('rule' => array('checkMimeType', false, '*')))
    );
    public $hasMany = array(
        'Attachment' => array(
            'className' => 'Media.Attachment',
            'foreignKey' => 'foreign_key',
            'conditions' => array('Attachment.model' => 'Bug'),
            'dependent' => true
        )
    );*/

}
?>